<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.14"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>SPHinXsys: SPH::NearShapeSurface Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="logo.png"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">SPHinXsys
   &#160;<span id="projectnumber">alpha version</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.14 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="namespace_s_p_h.html">SPH</a></li><li class="navelem"><a class="el" href="class_s_p_h_1_1_near_shape_surface.html">NearShapeSurface</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-attribs">Public Attributes</a> &#124;
<a href="class_s_p_h_1_1_near_shape_surface-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">SPH::NearShapeSurface Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>A body part with the cell lists near the surface of a prescribed shape.  
 <a href="class_s_p_h_1_1_near_shape_surface.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="base__body__part_8h_source.html">base_body_part.h</a>&gt;</code></p>

<p>Inherits <a class="el" href="class_s_p_h_1_1_body_part_by_cell.html">SPH::BodyPartByCell</a>.</p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:add38338ae9ba58726424763539142e40"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_p_h_1_1_near_shape_surface.html#add38338ae9ba58726424763539142e40">NearShapeSurface</a> (<a class="el" href="class_s_p_h_1_1_real_body.html">RealBody</a> &amp;real_body, SharedPtr&lt; <a class="el" href="class_s_p_h_1_1_shape.html">Shape</a> &gt; shape_ptr)</td></tr>
<tr class="separator:add38338ae9ba58726424763539142e40"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a07b3bc41bfeec09966c6ceae5269b53e"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_p_h_1_1_near_shape_surface.html#a07b3bc41bfeec09966c6ceae5269b53e">NearShapeSurface</a> (<a class="el" href="class_s_p_h_1_1_real_body.html">RealBody</a> &amp;real_body)</td></tr>
<tr class="separator:a07b3bc41bfeec09966c6ceae5269b53e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a62f7067ea3bdb79c5314f2f6ec576f40"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_p_h_1_1_near_shape_surface.html#a62f7067ea3bdb79c5314f2f6ec576f40">NearShapeSurface</a> (<a class="el" href="class_s_p_h_1_1_real_body.html">RealBody</a> &amp;real_body, const std::string &amp;shape_name)</td></tr>
<tr class="separator:a62f7067ea3bdb79c5314f2f6ec576f40"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_class_s_p_h_1_1_body_part_by_cell"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_class_s_p_h_1_1_body_part_by_cell')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="class_s_p_h_1_1_body_part_by_cell.html">SPH::BodyPartByCell</a></td></tr>
<tr class="memitem:a54544d7b7dac6f18521ebebde4a65dcb inherit pub_methods_class_s_p_h_1_1_body_part_by_cell"><td class="memItemLeft" align="right" valign="top"><a id="a54544d7b7dac6f18521ebebde4a65dcb"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>BodyPartByCell</b> (<a class="el" href="class_s_p_h_1_1_real_body.html">RealBody</a> &amp;real_body, const std::string &amp;body_part_name)</td></tr>
<tr class="separator:a54544d7b7dac6f18521ebebde4a65dcb inherit pub_methods_class_s_p_h_1_1_body_part_by_cell"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_class_s_p_h_1_1_body_part"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_class_s_p_h_1_1_body_part')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="class_s_p_h_1_1_body_part.html">SPH::BodyPart</a></td></tr>
<tr class="memitem:a8762c76853ec583575ab5967db559d75 inherit pub_methods_class_s_p_h_1_1_body_part"><td class="memItemLeft" align="right" valign="top"><a id="a8762c76853ec583575ab5967db559d75"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>BodyPart</b> (<a class="el" href="class_s_p_h_1_1_s_p_h_body.html">SPHBody</a> &amp;sph_body, const std::string &amp;body_part_name)</td></tr>
<tr class="separator:a8762c76853ec583575ab5967db559d75 inherit pub_methods_class_s_p_h_1_1_body_part"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a709b8c2cf44fb5885a4c87ac5a9595d9 inherit pub_methods_class_s_p_h_1_1_body_part"><td class="memItemLeft" align="right" valign="top"><a id="a709b8c2cf44fb5885a4c87ac5a9595d9"></a>
<a class="el" href="class_s_p_h_1_1_s_p_h_body.html">SPHBody</a> *&#160;</td><td class="memItemRight" valign="bottom"><b>getSPHBody</b> ()</td></tr>
<tr class="separator:a709b8c2cf44fb5885a4c87ac5a9595d9 inherit pub_methods_class_s_p_h_1_1_body_part"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7ebf55521b03c9e172af6b80de4b4d4e inherit pub_methods_class_s_p_h_1_1_body_part"><td class="memItemLeft" align="right" valign="top"><a id="a7ebf55521b03c9e172af6b80de4b4d4e"></a>
std::string&#160;</td><td class="memItemRight" valign="bottom"><b>BodyPartName</b> ()</td></tr>
<tr class="separator:a7ebf55521b03c9e172af6b80de4b4d4e inherit pub_methods_class_s_p_h_1_1_body_part"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
Public Attributes</h2></td></tr>
<tr class="memitem:a0750ae5104c375b2cdee33d74f6ae8d2"><td class="memItemLeft" align="right" valign="top"><a id="a0750ae5104c375b2cdee33d74f6ae8d2"></a>
<a class="el" href="class_s_p_h_1_1_level_set_shape.html">LevelSetShape</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><b>level_set_shape_</b></td></tr>
<tr class="separator:a0750ae5104c375b2cdee33d74f6ae8d2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_attribs_class_s_p_h_1_1_body_part_by_cell"><td colspan="2" onclick="javascript:toggleInherit('pub_attribs_class_s_p_h_1_1_body_part_by_cell')"><img src="closed.png" alt="-"/>&#160;Public Attributes inherited from <a class="el" href="class_s_p_h_1_1_body_part_by_cell.html">SPH::BodyPartByCell</a></td></tr>
<tr class="memitem:a4d05ac7eea923c9f08f7a6ebdfcdc1f8 inherit pub_attribs_class_s_p_h_1_1_body_part_by_cell"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespace_s_p_h.html#ac0f8e60f152f068d641d2f988b8c2f41">CellLists</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_p_h_1_1_body_part_by_cell.html#a4d05ac7eea923c9f08f7a6ebdfcdc1f8">body_part_cells_</a></td></tr>
<tr class="separator:a4d05ac7eea923c9f08f7a6ebdfcdc1f8 inherit pub_attribs_class_s_p_h_1_1_body_part_by_cell"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="inherited"></a>
Additional Inherited Members</h2></td></tr>
<tr class="inherit_header pro_types_class_s_p_h_1_1_body_part_by_cell"><td colspan="2" onclick="javascript:toggleInherit('pro_types_class_s_p_h_1_1_body_part_by_cell')"><img src="closed.png" alt="-"/>&#160;Protected Types inherited from <a class="el" href="class_s_p_h_1_1_body_part_by_cell.html">SPH::BodyPartByCell</a></td></tr>
<tr class="memitem:ad1903f6c241d3368acd46a1f76d0b4c2 inherit pro_types_class_s_p_h_1_1_body_part_by_cell"><td class="memItemLeft" align="right" valign="top"><a id="ad1903f6c241d3368acd46a1f76d0b4c2"></a>
typedef std::function&lt; <a class="el" href="classbool.html">bool</a>(Vecd, Real)&gt;&#160;</td><td class="memItemRight" valign="bottom"><b>TaggingCellMethod</b></td></tr>
<tr class="separator:ad1903f6c241d3368acd46a1f76d0b4c2 inherit pro_types_class_s_p_h_1_1_body_part_by_cell"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pro_methods_class_s_p_h_1_1_body_part_by_cell"><td colspan="2" onclick="javascript:toggleInherit('pro_methods_class_s_p_h_1_1_body_part_by_cell')"><img src="closed.png" alt="-"/>&#160;Protected Member Functions inherited from <a class="el" href="class_s_p_h_1_1_body_part_by_cell.html">SPH::BodyPartByCell</a></td></tr>
<tr class="memitem:a21467eecda242ca3714dc46ca376f93c inherit pro_methods_class_s_p_h_1_1_body_part_by_cell"><td class="memItemLeft" align="right" valign="top"><a id="a21467eecda242ca3714dc46ca376f93c"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>tagCells</b> (TaggingCellMethod &amp;tagging_cell_method)</td></tr>
<tr class="separator:a21467eecda242ca3714dc46ca376f93c inherit pro_methods_class_s_p_h_1_1_body_part_by_cell"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pro_attribs_class_s_p_h_1_1_body_part_by_cell"><td colspan="2" onclick="javascript:toggleInherit('pro_attribs_class_s_p_h_1_1_body_part_by_cell')"><img src="closed.png" alt="-"/>&#160;Protected Attributes inherited from <a class="el" href="class_s_p_h_1_1_body_part_by_cell.html">SPH::BodyPartByCell</a></td></tr>
<tr class="memitem:a8c95734708d6adfa8983884487231eed inherit pro_attribs_class_s_p_h_1_1_body_part_by_cell"><td class="memItemLeft" align="right" valign="top"><a id="a8c95734708d6adfa8983884487231eed"></a>
<a class="el" href="class_s_p_h_1_1_base_cell_linked_list.html">BaseCellLinkedList</a> *&#160;</td><td class="memItemRight" valign="bottom"><b>cell_linked_list_</b></td></tr>
<tr class="separator:a8c95734708d6adfa8983884487231eed inherit pro_attribs_class_s_p_h_1_1_body_part_by_cell"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pro_attribs_class_s_p_h_1_1_body_part"><td colspan="2" onclick="javascript:toggleInherit('pro_attribs_class_s_p_h_1_1_body_part')"><img src="closed.png" alt="-"/>&#160;Protected Attributes inherited from <a class="el" href="class_s_p_h_1_1_body_part.html">SPH::BodyPart</a></td></tr>
<tr class="memitem:a83aa7dda884dc6a503b00618d0925a61 inherit pro_attribs_class_s_p_h_1_1_body_part"><td class="memItemLeft" align="right" valign="top"><a id="a83aa7dda884dc6a503b00618d0925a61"></a>
<a class="el" href="class_s_p_h_1_1_s_p_h_body.html">SPHBody</a> *&#160;</td><td class="memItemRight" valign="bottom"><b>sph_body_</b></td></tr>
<tr class="separator:a83aa7dda884dc6a503b00618d0925a61 inherit pro_attribs_class_s_p_h_1_1_body_part"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8643053b682dceb0e3c0a7003d8e81d8 inherit pro_attribs_class_s_p_h_1_1_body_part"><td class="memItemLeft" align="right" valign="top"><a id="a8643053b682dceb0e3c0a7003d8e81d8"></a>
std::string&#160;</td><td class="memItemRight" valign="bottom"><b>body_part_name_</b></td></tr>
<tr class="separator:a8643053b682dceb0e3c0a7003d8e81d8 inherit pro_attribs_class_s_p_h_1_1_body_part"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>A body part with the cell lists near the surface of a prescribed shape. </p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="add38338ae9ba58726424763539142e40"></a>
<h2 class="memtitle"><span class="permalink"><a href="#add38338ae9ba58726424763539142e40">&#9670;&nbsp;</a></span>NearShapeSurface() <span class="overload">[1/3]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">SPH::NearShapeSurface::NearShapeSurface </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_s_p_h_1_1_real_body.html">RealBody</a> &amp;&#160;</td>
          <td class="paramname"><em>real_body</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">SharedPtr&lt; <a class="el" href="class_s_p_h_1_1_shape.html">Shape</a> &gt;&#160;</td>
          <td class="paramname"><em>shape_ptr</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>for the case that the body part shape is not that of the body </p>

</div>
</div>
<a id="a07b3bc41bfeec09966c6ceae5269b53e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a07b3bc41bfeec09966c6ceae5269b53e">&#9670;&nbsp;</a></span>NearShapeSurface() <span class="overload">[2/3]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">SPH::NearShapeSurface::NearShapeSurface </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_s_p_h_1_1_real_body.html">RealBody</a> &amp;&#160;</td>
          <td class="paramname"><em>real_body</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">explicit</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>for the case that the body part shape is the surface of the body shape </p>

</div>
</div>
<a id="a62f7067ea3bdb79c5314f2f6ec576f40"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a62f7067ea3bdb79c5314f2f6ec576f40">&#9670;&nbsp;</a></span>NearShapeSurface() <span class="overload">[3/3]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">SPH::NearShapeSurface::NearShapeSurface </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_s_p_h_1_1_real_body.html">RealBody</a> &amp;&#160;</td>
          <td class="paramname"><em>real_body</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const std::string &amp;&#160;</td>
          <td class="paramname"><em>shape_name</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>for the case that the body part shape is one part of the surface of the body shape </p>

</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li>SPHINXsys/src/shared/bodies/<a class="el" href="base__body__part_8h_source.html">base_body_part.h</a></li>
<li>SPHINXsys/src/shared/bodies/<a class="el" href="base__body__part_8cpp.html">base_body_part.cpp</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.14
</small></address>
</body>
</html>
